Search results
3673 packages found
resolve like require.resolve() on behalf of files asynchronously and synchronously
Find a file or directory by walking up parent directories
Find the root directory of a Node.js project or npm package
Find the first file matching a given pattern in the current directory or the nearest ancestor directory.
Check if a path is inside another path
A tiny (952b), correct, general-purpose, and configurable "exports" and "imports" resolver without file-system reliance
Generates an asynchronous resolver function from a PAC file
Find a file or directory by walking up parent directories — Zero dependencies
Returns `true` if the path appears to be relative.
Returns true if a file path is absolute. Does not rely on the path module and can be used as a polyfill for node.js native `path.isAbolute`.
Read the closest package.json file
Detects if a file exists and returns the resolved filepath.
resolve like require.resolve() on behalf of files asynchronously and synchronously
Resolves the full path to the bin file of a given package by inspecting the "bin" field in its package.json.
Finds the first parent directory that contains a given file or directory.
Human friendly file system utilities for Node.js
- anolilab
- detect-newline
- dir
- directory
- eol
- empty-dir
- ensure
- ensure-file
- ensure-dir
- ensure-link
- ensure-symlink
- file
- files
- filesystem
- View more
Resolve a path by walking parent directories.
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![License][license-image]][license-url] [![Downloads][downloads-image]][downloads-url]
- iterate
- typedarrays
- telephone
- type
- jasmine
- multi-package
- define
- mimetypes
- korean
- toobject
- inspect
- react-hook-form
- Uint16Array
- regular
- View more
Check if a module ID is resolvable with require()
Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.